<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adminer后台管理系统</title>
<link href="<{$APP_PUBLIC_PATH}>images/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$APP_PUBLIC_PATH}>javascript/jquery.min.js"></script>
<script src="lib/ckeditor/ckeditor.js" type="text/javascript"></script>
<script src="lib/ckfinder/ckfinder.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){ //这个就是传说的ready
		$("#main_big").slideToggle("slow");
});
</script>
</head>

<body style="background:#FFF">
	<div id="main_big" style="display:none">编辑产品分类信息</div>
    <div id="main_contents">
    <div id="main_description">描述：编辑产品分类信息</div>
<script type="text/javascript">
$(document).ready(function(){ //这个就是传说的ready
		$("#form1").slideDown("slow");
        $(".main_table tr:even").addClass("alt");
                //给class为stripe的表格的偶数行添加class值为alt
});
</script>
<iframe name="get" style="display:none;"></iframe>
<volist name="sort" id="vo">
<form id="form1" name="form1" method="post" target="get" style="display:none;" action="?m=Product&a=sort_edit_get" enctype="multipart/form-data">
<input name="sort_id" type="hidden" value="<{$vo.sort_id}>" />
    <div id="table_c">
    	<table border="0" cellspacing="1" class="main_table">
       		 <tr>
            	<th colspan="2">编辑产品分类信息</th>
            </tr>
        	 <tr>
              <td align="right" valign="middle">上级分类</td>
              <td align="left" valign="middle">
              <select name="sid" id="sid">
              		<option value="">无</option>
                    <volist name="sort1" id="so">
                    <if condition="$vo['sort_id'] eq $so['sort_id']">
                    <else />
                    <option value="<{$so.sort_id}>"><{$so.title}></option>
                    </if>
                        <volist name="sort2" id="co">
                        <if condition="$so['sort_id'] eq $co['sid']">
                        <optgroup style="background:#CCC;" label=" &nbsp; &nbsp; |--<{$co.title}>"></optgroup>
                        </if>
                        
                        </volist>

                    </volist>
              	</select>
                <script type="text/javascript">
                	$('#sid').val('<{$vo.sid}>');
                </script>
                </td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">分类名称</td>
              <td align="left" valign="middle"><input type="text" name="title" id="title" value="<{$vo.title}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">英文名称</td>
              <td align="left" valign="middle"><input type="text" name="e_title" id="e_title" value="<{$vo.e_title}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">排序</td>
              <td align="left" valign="middle"><input type="text" name="sorting" id="sorting" value="<{$vo.sort_id}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">是否显示</td>
              <td align="left" valign="middle"><input type="radio" name="show_m" id="show_m" value="1" <if condition='$vo.show_m eq 1'>checked="checked"</if> /> 是 <input type="radio" name="show_m" id="show_m" value="0" <if condition='$vo.show_m eq 0'>checked="checked"</if> /> 否</td>
             </tr>

        </table>

</div>
            	  <input type="submit" name="button" id="button" class="main_get" value="提  交" />
        </form>
        </volist>
	</div>


</body>
</html>
